package com.blrs.service.enterprise.records;

import com.blrs.domain.EnterpriseFollowRecords;

import java.util.List;
import java.util.Objects;

/**
 * 企业跟进记录Service接口
 * 
 * @author yuxiang.chen
 * @date 2023-08-08
 */
public interface IEnterpriseFollowRecordsService 
{
    /**
     * 查询企业跟进记录
     * 
     * @param recordsId 企业跟进记录主键
     * @return 企业跟进记录
     */
    public EnterpriseFollowRecords selectEnterpriseFollowRecordsByRecordsId(String recordsId);

    /**
     * 查询企业跟进记录列表
     * 
     * @param enterpriseFollowRecords 企业跟进记录
     * @return 企业跟进记录集合
     */
    public List<EnterpriseFollowRecords> selectEnterpriseFollowRecordsList(EnterpriseFollowRecords enterpriseFollowRecords);

    /**
     * 新增企业跟进记录
     * 
     * @param enterpriseFollowRecords 企业跟进记录
     * @return 结果
     */
    public int insertEnterpriseFollowRecords(EnterpriseFollowRecords enterpriseFollowRecords);

    /**
     * 修改企业跟进记录
     * 
     * @param enterpriseFollowRecords 企业跟进记录
     * @return 结果
     */
    public int updateEnterpriseFollowRecords(EnterpriseFollowRecords enterpriseFollowRecords);

    /**
     * 批量删除企业跟进记录
     * 
     * @param recordsIds 需要删除的企业跟进记录主键集合
     * @return 结果
     */
    public int deleteEnterpriseFollowRecordsByRecordsIds(String[] recordsIds);

    /**
     * 删除企业跟进记录信息
     * 
     * @param recordsId 企业跟进记录主键
     * @return 结果
     */
    public int deleteEnterpriseFollowRecordsByRecordsId(String recordsId);

    List<Object> selectEnterpriseFollowRecordsListPerson(EnterpriseFollowRecords enterpriseFollowRecords);
}
